NavigationRouteLine

data class NavigationRouteLine(route: NavigationRoute, identifier: String?)

Represents a route and an optional identification of used for representing routes on the map.

Parameters

route

a directions route

identifier

an optional identifier for the directions route which can be used to influence color of the route when it is an alternative route.

Constructors

NavigationRouteLine
Link copied to clipboard
fun NavigationRouteLine(route: NavigationRoute, identifier: String?)
a directions route

Functions

component1
Link copied to clipboard
operator fun component1(): NavigationRoute
component2
Link copied to clipboard
operator fun component2(): String?
copy
Link copied to clipboard
fun copy(route: NavigationRoute, identifier: String?): NavigationRouteLine
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

identifier
Link copied to clipboard
val identifier: String?
an optional identifier for the directions route which can be used to influence color of the route when it is an alternative route.
route
Link copied to clipboard
val route: NavigationRoute
a directions route